<?php
$view = new Tbs_Engine();

$baseDir = dirname(__FILE__).'/templates/';
$view->setTemplateDir($baseDir);
$view->LoadTemplate('searchresult.tpl');

// Load URL
$view->MergeField('baseUrl',$this->baseUrl());
$view->MergeField('applicationUrl',$this->applicationUrl());
$view->ObjectRef['translate']=&$this->translate;   
$view->MergeField('loginform',$this->action('loginform','index'));
$view->MergeField('favoriteform',$this->action('favoriteform','index'));   
$view->MergeField('hotpropertyform',$this->action('hotpropertyform','index'));   
 
$view->MergeBlock('listproperty',$this->listproperty); 


$view->Show(true);
?>
